package com.flowabledemo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
* @author :zhoushunquan
* @description: 用户模板
* @create date: 2022-02-17 16:00:11
*/

@Data
@Builder
@EqualsAndHashCode
public class TestUserDto implements Serializable{

    public interface Add{}
    public interface Update{}
    public interface Delete{}

    /** id  */
    @ApiModelProperty(value="id",name="id")
        @NotNull(message = "id不能为空",groups = {Update.class, Delete.class})
        private Integer id;

    /** 姓名  */
    @ApiModelProperty(value="姓名",name="name")
        private String name;

    /** 性别 0女1男  */
    @ApiModelProperty(value="性别 0女1男",name="sex")
        private Integer sex;

    /** 用户签名  */
    @ApiModelProperty(value="用户签名",name="userSign")
        private String userSign;

    /** 创建人  */
    @ApiModelProperty(value="创建人",name="createUser")
        private String createUser;

    /** 创建时间  */
    @ApiModelProperty(value="创建时间",name="createTime")
        private Date createTime;



}
